package cn.lili.modules.payment.entity.enums;

/**
 * 用户红包变动枚举
 *
 * @author liushuai(liushuai711 @ gmail.com)
 * @version v4.0
 * @Description:
 * @since 2022/10/20 17:04
 */
public enum UserRedPackServiceEnum {

    /**
     * 红包业务枚举
     */
    SIGN(true, "签到赠送红包"),
    CONSUME(false, "兑换商品，消费红包"),
    ORDER_CANCEL(true, "红包订单取消，返还红包"),
    INVITE_TASK(true, "邀新任务获得红包"),
    ADVERT_TASK(true, "广告任务获得红包"),
    RETURN(true, "业务回退红包");

    /**
     * 增加积分业务
     */
    private Boolean isAdd;
    /**
     * 业务描述
     */
    private String description;

    UserRedPackServiceEnum(Boolean isAdd, String description) {
        this.isAdd = isAdd;
        this.description = description;
    }

    public Boolean getAdd() {
        return isAdd;
    }

    public String getDescription() {
        return description;
    }
}
